<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<title></title>
		<link rel="stylesheet" href="./Bootstrap4.6.1/css/bootstrap.css">
		<script src="./Bootstrap4.6.1/js/jquery.js"></script>
		<script src="./Bootstrap4.6.1/js/bootstrap.bundle.js"></script>
	</head>
	<body>
		<ul class="nav ">
		  <li class="nav-item">
		    <a class="nav-link active" href="#">首页</a>
		  </li>
		  <li class="nav-item">
		    <a class="nav-link" href="#">产品</a>
		  </li>
		  <li class="nav-item">
		    <a class="nav-link" href="#">动态</a>
		  </li>
		  <li class="nav-item">
		    <a class="nav-link ">联系我们</a>
		  </li>
		</ul>
		
		<hr>
		<br><br>
		<nav class="nav nav-tabs">
		  <a class="nav-link active" href="#">首页</a>
		  <a class="nav-link " href="./html/link.html">二级页面</a>
		  <a class="nav-link" href="#">Link</a>
		  <a class="nav-link disabled">Disabled</a>
		</nav>
		
		<hr>
		<br><br>
		<!-- 
				navbar： 导航栏基本样式；
				navbar-expand-lg：在什么时候显示导航菜单，lg在大屏以上显示
				navbar-light：导航栏配色	
				bg-light：导航栏背景色	，配色和背景色颜色单词要一致						  
		-->
		<nav class="navbar navbar-expand-md navbar-dark bg-dark">
			<!-- 导航栏标题  不许要的时候可以删 -->
			<a class="navbar-brand" href="#">
			  <img src="./img/2.png" alt="">
			  <span>sdfsdf</span>
			</a>
		 <!-- 小屏时显示的菜单按钮 -->
		 <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#nav01" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
		   <span class="navbar-toggler-icon"></span>
		 </button>
		<!-- 导航菜单，小屏时隐藏 -->
		  <div class="collapse navbar-collapse" id="nav01">
		    <ul class="navbar-nav mr-auto">
		        <a class="nav-link" href="#">首页</a>
		        <a class="nav-link" href="#">产品</a>
		        <a class="nav-link" href="#">产品</a>
			    <a class="nav-link" href="#">产品</a>
		        <a class="nav-link ">关于我们</a>
		    </ul>
			<!-- 表单--搜索框  需要哪个留哪个-->
		     <form class="form-inline">
		        <div class="input-group">
				<input type="text" class="form-control" placeholder="Username" aria-label="Username" aria-describedby="basic-addon1">
		          <div class="input-group-prepend">
		            <span class="input-group-text" id="basic-addon1">@</span>
		          </div>
		          
		        </div>
		      </form>
		  </div>
		  
		</nav>
		
	</body>
</html>